package com.tpp.pay.controller;

import com.tpp.pay.service.PayService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class PayController {

    @Resource
    private PayService payService;

    @GetMapping("/v/pagePay")
    public String pagePay(String orderNo){
        String s = payService.pagePay(orderNo);
        return s;
    }

}
